//
//  MessageManager.h
//  onlineCustoSDK
//
//  Created by 曹宗华 on 2017/12/19.
//  Copyright © 2017年 com.netinfosz. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ICMessageFrame.h"
@interface MessageManager : NSObject
@property(nonatomic,strong)NSManagedObjectContext *context;
@property(nonatomic,strong)NSPersistentStoreCoordinator *store;
@property(nonatomic,strong)NSManagedObjectModel *model;
@property(nonatomic,strong)NSString *userAcount;
+(instancetype)shareInstance;
//增加一条消息
- (void)createMessageObject:(ICMessageFrame*)messageFrame;
- (NSArray*)queryFromDB;
- (void)deleteData;
@end
